<?php

if (isset ($_GET['etu'])) {

	$connexion = mysql_connect("localhost", "root", "");
	mysql_select_db("etudiants", $connexion);
	
	extract($_GET);
	getDonnee($etu);
}else{
	echo "{}";
}

function getDonnee($etu) {
	
		$sql= "select * 
		from etudiants
		WHERE etud = '".$etu."'";
			
	
}

?>
